package com.wjjun.base.dagger.component;

import com.wjjun.base.dagger.module.AllActivitiesModule;
import com.wjjun.base.dagger.module.AppModule;
import com.wjjun.base.App;

import javax.inject.Singleton;

import dagger.Component;
import dagger.android.AndroidInjectionModule;
import dagger.android.support.AndroidSupportInjectionModule;

/**
 * Created by 67535 on 2018/5/25.
 */
@Singleton
@Component(modules = {
        AndroidInjectionModule.class,
        AndroidSupportInjectionModule.class,
        AllActivitiesModule.class,
        AppModule.class
})
public interface AppComponent {
    void inject(App app);
}
